{% extends "base.html" %}
{% load i18n %}
{% block title %} {% trans 'Relationship Status List' %}{% endblock %}
{% block content %}
<legend> Relationship Status From: {{ request.user.username }}</legend>

  {% for status in relationshipstatus_list %}
    <li><a href="{% url relationship_list status.name %}">{{ status.name }}</a>
         - <a href="{% url relationshipstatus_update status.id %}"> Update </a>
         - <a href="{% url relationshipstatus_delete status.id %}"> Delete </a>
         - {{ status.member_count }}</li>
  {% endfor %}
  
  <a href="{% url relationshipstatus_add %}">{% trans 'Add' %}</a>
  
<legend> Relationship Status To: {{ request.user.username }}</legend>
  {% for to_user_status in to_user_status %}
  	<li><a href="{% url relationship_to_user_list to_user_status.name %}">{{ to_user_status.name }}</a>
         - {{ to_user_status.member_count }}</li>
  {% endfor %}
  
{% endblock %}
